package com.ruoyi.system.api.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value="ShMarketReq对象", description="商品分销提成信息入参")
@Accessors(chain = true)
public class ShMarketReq extends BaseQuery implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "销售总额")
    private BigDecimal amount;

    @ApiModelProperty(value = "分销提成总额")
    private BigDecimal marketAmount;

    @ApiModelProperty(value = "提成人")
    private Long createBy;

    @ApiModelProperty(value = "提成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "商品大类")
    private Integer productType;

    private String appId;
}
